#ifndef FEEDPARSER_H
#define FEEDPARSER_H

typedef struct _feed_t feed_t;
struct _feed_t
{
	char *title;
	char *desc;
	char *link;
};

feed_t **parse_rss (const char *data, const char *last_title);
feed_t **parse_atom (const char *data, const char *last_title);
void free_feed (feed_t **mfeed);
int isatom (const char *data);
int isrss (const char *data);

#endif
